package com.torres.system.entity;

import java.io.Serializable;

/**
 * t_admin实体类
 * @author torres
 * @date 2020-05-02 16:25:01
 */
public class AdminEntity extends BaseEntity implements Serializable {
    /**
     * @Fields account 
     */
    private String account;

    /**
     * @Fields name 
     */
    private String name;

    /**
     * @Fields password 
     */
    private String password;

    private static final long serialVersionUID = 1L;

    /**
     * 获取  字段:t_admin.account
     *
     * @return t_admin.account, 
     */
    public String getAccount() {
        return account;
    }

    /**
     * 设置  字段:t_admin.account
     *
     * @param account the value for t_admin.account, 
     */
    public void setAccount(String account) {
        this.account = account;
    }

    /**
     * 获取  字段:t_admin.name
     *
     * @return t_admin.name, 
     */
    public String getName() {
        return name;
    }

    /**
     * 设置  字段:t_admin.name
     *
     * @param name the value for t_admin.name, 
     */
    public void setName(String name) {
        this.name = name;
    }

    /**
     * 获取  字段:t_admin.password
     *
     * @return t_admin.password, 
     */
    public String getPassword() {
        return password;
    }

    /**
     * 设置  字段:t_admin.password
     *
     * @param password the value for t_admin.password, 
     */
    public void setPassword(String password) {
        this.password = password;
    }

    /**
     * :t_admin
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", account=").append(account);
        sb.append(", name=").append(name);
        sb.append(", password=").append(password);
        sb.append("]");
        return sb.toString();
    }
}